﻿namespace Qiao.Common.Core
{
    /// <summary>
    /// API响应实体
    /// </summary>
    public class ApiResultMessage<T>
    {
        /// <summary>
        /// 是否成功
        /// </summary>
        public bool IsSuccess { get; set; }

        /// <summary>
        /// 错误信息 成功 = OK， 失败 = 错误信息
        /// </summary>
        public string Message { get; set; }

        /// <summary>
        /// 响应数据
        /// </summary>
        public T Data { get; set; }
    }
}
